<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@include file="/webApp/head.jsp" %>
<body>
<script>

//返回上一页	
function back(){
	history.back()
}
</script>
<header data-am-widget="header" class="am-header am-header-default joan-head2 ">
	<div class="am-header-left am-header-nav">
	
		<a href="javascript:history.back()" class="">
			<i class="am-icon-chevron-left"></i>
		</a>
	</div>
	<h1 class="am-header-title">
  	<a href="" class="">订单详情</a>
  </h1>
  
</header>

   <div class="order-num">
   	<span class="order-num-l">订单编号:${orderInfos.id}</span>
   <%-- 	<span class="order-num-r"><c:if test="${orderInfos.payStatus==2}">待付款</c:if><c:if test="${orderInfos.commStatus==1 and orderInfos.sendStatus==4}">待评价</c:if>
   	<c:if test="${orderInfos.sendStatus!=4 and orderInfos.sendStatus!=1 }">待收货</c:if>
   		<c:if test="${orderInfos.sendStatus==1}">待发货</c:if>
   	</span> --%>
   </div>
    <div class="order-pay">
    	<li>
    		<span class="pay-sty">订单总额</span>
    		<span class="weixinpay" style="color: #ff992e;">￥${orderInfos.price} </span>
    	</li>
    	<li>
    		<span class="pay-sty">支付方式</span>
    		<span class="weixinpay">${orderInfos.way}</span>
    	</li>
    	<li>
    		<span class="pay-sty">支付状态</span>
    		<%-- <span class="weixinpay"><c:if test="${orderInfos.payStatus==2}">未付款</c:if><c:if test="${orderInfos.payStatus==1}">已付款</c:if></span> --%>
    	</li>
    	<li style="border: 0;">
    		<span class="pay-sty">下单时间</span>
    		<span class="weixinpay"><fmt:formatDate value="${orderInfos.gmtCreate}" pattern="yyyy-MM-dd"/> </span>
    	</li>
    </div>
   
<div class="order-text">配送信息</div>
    <div class="order-pay-infor">
    	<p>收货地址</p>
    	<p class="order-pay-add">${orderInfos.address} </p>
    	<p class="order-pay-name">${orderInfos.userInfo.name},${orderInfos.phone} </p>
    </div>

    <div class="order-text">商品清单</div>
    <div class="c-comment-list" style=" border-top: 1px solid #ddd;">
			<a class="o-con" href="">
            	<div class="o-con-img"><img src="${orderInfos.commodityInfo.picture }"/></div>
                <div class="o-con-txt" style="padding-top: 0;"><p>${orderInfos.commodityInfo.name}</p></div>
            	<div class="o-con-much"> </div>
            	<div class="agoprice" style="margin-left: 2%;">￥<span>${orderInfos.price}</span></div>
            </a>
	</div>
    
    <div class="order-text">价格清单</div>
     <div class="order-pay" style="margin-top: 0;">
    	<li>
    		<span class="pay-sty" >商品总价</span>
    		<span class="weixinpay" style="color: #ff992e;">￥${orderInfos.price}</span>
    	</li>
    	
    	
    </div>
    
  
    <div class="order-message">订单留言</div>
 
     <ul class="am-list">
    <li></li>
  
 
</ul>

</body>
</html>